<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page language="java" import="com.jxLC.Action.*"%>
<%@ page language="java" import="com.jxLC.Model.*" %>
<%@ page language="java" import="com.jxLC.Service.*" %>
<%@include file="/checkuLoginSession.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String Cnum=(String)request.getParameter("Cnum");
UserService userService=new UserService();
User u=userService.search(Cnum);
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>:::江西低碳-企业用户平台:::</title>
	<link href="<%= request.getContextPath()%>/mycss/my.css"  rel="stylesheet" type="text/css" />
	<link href="<%= request.getContextPath()%>/mycss/details.css"  rel="stylesheet" type="text/css" />
	<script type="text/javascript" charset="utf-8" src="kindeditor/kindeditor.js"></script>
	<script type="text/javascript" src="/myjs/my.js"></script>
	<style type="text/css">
	 table,td,th{ font-size:14px； font-family: "宋体 "; border:1px solid #339966;border-collapse:collapse; }
	 .tcolumn1{background:#EBFCF3;font-size:14px;font-weight:bold}
	 .tcolumn2{font-size:14px;color:green}
	 #m{background-color:white}
	 #ma{height:30px; background-image:url(/my.photo/photo/h3.jpg); color:white;padding-top:5px;}
	 #mb{float: left; width:240px;height:100%; background-color: ; margin:3px;}
	 #mb2{height:30px;background-color:#339966;width:220px; color:white; padding:4px;margin-top:2px;font-weight: bold; }
	 #mb3 a{ text-decoration: none; color:#006699;font-size:14px; font-weight: bold;}
	 #mb3 a:hover{color:green}
	 #mc{float: left;}
	 #mc1{height:10px;background-color: #339966; width:98%;padding-left:4px;margin-top:4px;overflow:hidden;}
	 #mc2{padding-left:10px;margin-top:30px;border-bottom:1px dashed green;width:98%;}
	 #mc3{margin-top:40px;height:280px;border-bottom:1px dashed green;width:98%;}#mc3 label{font-size:14px;margin-left:40px;font-weight: bold}
	 #mc4{margin-top:20px;}
	 #mc3 p{font-size:14px;font-weight:bold;}
	 #mc3 table tr td{font-size:14px;font-weight:bold;margin-left:20px;border-color:#FFFFFF;border-collapse:collapse;}
	 table a{text-decoration: none;font-size:14px;color:blue}
	 table a:hover{ color:red }  
	 table{ font-size:18px;font-family:"宋";}
    </style>
    <script type="text/javascript">
 
  window.onload=function()
{ 
     var result ="<%=request.getAttribute("message")%>";
     var result1 ="<%=request.getAttribute("mdsuccess2")%>";                                       
     if(result!='null'  &&  result!=undefined)
     {
           alert(result);
     }  
     if(result1!='null'  &&  result1!=undefined)
     {
           alert(result1);
     }  
}
	</script>
  </head>
  
 <body style="background-color:#EBFCF3">
   <s:include value="/admin/header.jsp"></s:include>
	<center><div id="m" >
       <s:include value="/user/userleft.jsp"></s:include>
       <div id="mc">
          <div id="mc1"></div>
          <div id="mc2">
           <h4 align="left"><img  src="/my.photo/photo/to.gif"><font style="color:black;font-family: 仿宋 ;font-weight: bold;">当前用户：</font><font style="color:blue;font-family: 仿宋 ;font-weight: bold;">企业用户</font></h4>
           <h4 align="left"><img  src="/my.photo/photo/to.gif"><font style="color:black;font-family: 仿宋 ;font-weight: bold;">当前位置：</font><font style="color:blue;font-family: 仿宋 ;font-weight: bold;">个人基本信息</font></h4>
          </div>
          <div id="mc3">
            <h4 align="left"><img src="/my.photo/photo/logo/icons/user_delete.png">&nbsp;您的基本信息</h4>
            <table align="left" style="border-color:#FFFFFF;margin-left:50px">
	            <tr><td width="100px">用户编号：</td><td><%=u.getCnum()%></td></tr>
	            <tr><td>所属单位：</td><td><%=u.getCOname()%></td></tr>
	            <tr><td>单位负责人：</td><td><%=u.getCOwner()%></td></tr>
	            <tr><td>组织机构代码：</td><td><%=u.getCOcode()%></td></tr>
	            <tr><td>单位性质：</td><td><%=u.getCOtype()%></td></tr>
	            <tr><td>所在地区：</td><td><%=u.getCOregion()%></td></tr>
	            <tr><td>邮政编码：</td><td><%=u.getCCode()%></td></tr>
	            <tr><td>联系电话：</td><td><%=u.getCtel()%></td></tr>
	            <tr><td>传真号码：</td><td><%=u.getCOfax()%></td></tr>
	            <tr><td>通讯地址：</td><td><%=u.getCAddr()%></td></tr>
	            <tr><td>操&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;作：</td><td><a href="modifyuser.jsp?Cnum=<%=u.getCnum()%>">修改</a></td></tr>
            </table>
          </div>
	</div>
	</div></center>
	<s:include value="/admin/tail.jsp"></s:include>
</body>
</html>
